import GlobalState from '@/utils'

export const globalAppStateManagerPlugin = {
    install(app: any, options: any) {
        app.config.globalProperties.$globalAppStateManager = GlobalState.initGlobalState(options.action, options.setGlobalState, options.onGlobalStateChange)
    }

}